SplitOptions

data class SplitOptions(val attachToParent: Boolean = true, val createParentTrackIfNeeded: Boolean = false, val selectNewBlock: Boolean = true)

Constructors

Link copied to clipboard
constructor(attachToParent: Boolean = true, createParentTrackIfNeeded: Boolean = false, selectNewBlock: Boolean = true)

Properties

Link copied to clipboard

Whether or not the new block will be attached to the same parent as the original. The default value is true.

Link copied to clipboard

Whether to create a parent track if needed and add both blocks to it. Only used when attachToParent is true. The default value is false.

Link copied to clipboard

Whether to select the newly created block after splitting. The default value is true.